package com.xps.charmingshop.bean;

import java.util.List;

/**
 * Created by MI on 2018/1/29.
 */

public class OrderBean {


    /**
     * return_code : SUCCESS
     * return_msg : 获取订单详情成功
     * return_body : [{"order_id":337,"order_status":-1,"order_rider_id":0,"order_num":"2018012910052505","order_user":"屈博杰","order_tel":"17703981211","order_address":"天津市南开区万德庄大街春香里小区","order_payment_method":0,"order_remarks":"暂无","order_money":"266","goods_list":[{"goods_id":334,"goods_num":2,"goods_remarks":"","goods_must":[{"must_name":"特辣","must_price":"0元"}],"goods_optional":[{"optional_name":"培根","optional_price":"3"}],"goods_ready_time":"","dish_id":5,"dish_status":1,"dish_name":"黄焖大虾","dish_description":"辣住你的嘴","dish_price":"128","dish_discount_price":"8"},{"goods_id":335,"goods_num":1,"goods_remarks":"","goods_must":[{"must_name":"特辣","must_price":"0元"}],"goods_optional":[{"optional_name":"培根","optional_price":"3"}],"goods_ready_time":"","dish_id":3,"dish_status":1,"dish_name":"鱼香土豆丝","dish_description":"描述一下这个菜","dish_price":"21","dish_discount_price":"1"}]}]
     */

    private String return_code;
    private String return_msg;
    private List<ReturnBodyBean> return_body;

    public String getReturn_code() {
        return return_code;
    }

    public void setReturn_code(String return_code) {
        this.return_code = return_code;
    }

    public String getReturn_msg() {
        return return_msg;
    }

    public void setReturn_msg(String return_msg) {
        this.return_msg = return_msg;
    }

    public List<ReturnBodyBean> getReturn_body() {
        return return_body;
    }

    public void setReturn_body(List<ReturnBodyBean> return_body) {
        this.return_body = return_body;
    }

    public static class ReturnBodyBean {
        /**
         * order_id : 337
         * order_status : -1
         * order_rider_id : 0
         * order_num : 2018012910052505
         * order_user : 屈博杰
         * order_tel : 17703981211
         * order_address : 天津市南开区万德庄大街春香里小区
         * order_payment_method : 0
         * order_remarks : 暂无
         * order_money : 266
         * goods_list : [{"goods_id":334,"goods_num":2,"goods_remarks":"","goods_must":[{"must_name":"特辣","must_price":"0元"}],"goods_optional":[{"optional_name":"培根","optional_price":"3"}],"goods_ready_time":"","dish_id":5,"dish_status":1,"dish_name":"黄焖大虾","dish_description":"辣住你的嘴","dish_price":"128","dish_discount_price":"8"},{"goods_id":335,"goods_num":1,"goods_remarks":"","goods_must":[{"must_name":"特辣","must_price":"0元"}],"goods_optional":[{"optional_name":"培根","optional_price":"3"}],"goods_ready_time":"","dish_id":3,"dish_status":1,"dish_name":"鱼香土豆丝","dish_description":"描述一下这个菜","dish_price":"21","dish_discount_price":"1"}]
         */

        private String order_id;
        private String order_status;
        private String order_rider_id;
        private String order_num;
        private String order_user;
        private String order_tel;
        private String order_address;
        private String order_payment_method;
        private String order_remarks;
        private String order_money;
        private List<GoodsListBean> goods_list;

        public String getOrder_id() {
            return order_id;
        }

        public void setOrder_id(String order_id) {
            this.order_id = order_id;
        }

        public String getOrder_status() {
            return order_status;
        }

        public void setOrder_status(String order_status) {
            this.order_status = order_status;
        }

        public String getOrder_rider_id() {
            return order_rider_id;
        }

        public void setOrder_rider_id(String order_rider_id) {
            this.order_rider_id = order_rider_id;
        }

        public String getOrder_num() {
            return order_num;
        }

        public void setOrder_num(String order_num) {
            this.order_num = order_num;
        }

        public String getOrder_user() {
            return order_user;
        }

        public void setOrder_user(String order_user) {
            this.order_user = order_user;
        }

        public String getOrder_tel() {
            return order_tel;
        }

        public void setOrder_tel(String order_tel) {
            this.order_tel = order_tel;
        }

        public String getOrder_address() {
            return order_address;
        }

        public void setOrder_address(String order_address) {
            this.order_address = order_address;
        }

        public String getOrder_payment_method() {
            return order_payment_method;
        }

        public void setOrder_payment_method(String order_payment_method) {
            this.order_payment_method = order_payment_method;
        }

        public String getOrder_remarks() {
            return order_remarks;
        }

        public void setOrder_remarks(String order_remarks) {
            this.order_remarks = order_remarks;
        }

        public String getOrder_money() {
            return order_money;
        }

        public void setOrder_money(String order_money) {
            this.order_money = order_money;
        }

        public List<GoodsListBean> getGoods_list() {
            return goods_list;
        }

        public void setGoods_list(List<GoodsListBean> goods_list) {
            this.goods_list = goods_list;
        }

        public static class GoodsListBean {
            /**
             * goods_id : 334
             * goods_num : 2
             * goods_remarks :
             * goods_must : [{"must_name":"特辣","must_price":"0元"}]
             * goods_optional : [{"optional_name":"培根","optional_price":"3"}]
             * goods_ready_time :
             * dish_id : 5
             * dish_status : 1
             * dish_name : 黄焖大虾
             * dish_description : 辣住你的嘴
             * dish_price : 128
             * dish_discount_price : 8
             */

            private String goods_id;
            private String goods_num;
            private String goods_remarks;
            private String goods_ready_time;
            private String dish_id;
            private String dish_status;
            private String dish_name;
            private String dish_description;
            private String dish_price;
            private String dish_discount_price;
            private List<GoodsMustBean> goods_must;
            private List<GoodsOptionalBean> goods_optional;

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getGoods_num() {
                return goods_num;
            }

            public void setGoods_num(String goods_num) {
                this.goods_num = goods_num;
            }

            public String getGoods_remarks() {
                return goods_remarks;
            }

            public void setGoods_remarks(String goods_remarks) {
                this.goods_remarks = goods_remarks;
            }

            public String getGoods_ready_time() {
                return goods_ready_time;
            }

            public void setGoods_ready_time(String goods_ready_time) {
                this.goods_ready_time = goods_ready_time;
            }

            public String getDish_id() {
                return dish_id;
            }

            public void setDish_id(String dish_id) {
                this.dish_id = dish_id;
            }

            public String getDish_status() {
                return dish_status;
            }

            public void setDish_status(String dish_status) {
                this.dish_status = dish_status;
            }

            public String getDish_name() {
                return dish_name;
            }

            public void setDish_name(String dish_name) {
                this.dish_name = dish_name;
            }

            public String getDish_description() {
                return dish_description;
            }

            public void setDish_description(String dish_description) {
                this.dish_description = dish_description;
            }

            public String getDish_price() {
                return dish_price;
            }

            public void setDish_price(String dish_price) {
                this.dish_price = dish_price;
            }

            public String getDish_discount_price() {
                return dish_discount_price;
            }

            public void setDish_discount_price(String dish_discount_price) {
                this.dish_discount_price = dish_discount_price;
            }

            public List<GoodsMustBean> getGoods_must() {
                return goods_must;
            }

            public void setGoods_must(List<GoodsMustBean> goods_must) {
                this.goods_must = goods_must;
            }

            public List<GoodsOptionalBean> getGoods_optional() {
                return goods_optional;
            }

            public void setGoods_optional(List<GoodsOptionalBean> goods_optional) {
                this.goods_optional = goods_optional;
            }

            public static class GoodsMustBean {
                /**
                 * must_name : 特辣
                 * must_price : 0元
                 */

                private String must_name;
                private String must_price;

                public String getMust_name() {
                    return must_name;
                }

                public void setMust_name(String must_name) {
                    this.must_name = must_name;
                }

                public String getMust_price() {
                    return must_price;
                }

                public void setMust_price(String must_price) {
                    this.must_price = must_price;
                }
            }

            public static class GoodsOptionalBean {
                /**
                 * optional_name : 培根
                 * optional_price : 3
                 */

                private String optional_name;
                private String optional_price;

                public String getOptional_name() {
                    return optional_name;
                }

                public void setOptional_name(String optional_name) {
                    this.optional_name = optional_name;
                }

                public String getOptional_price() {
                    return optional_price;
                }

                public void setOptional_price(String optional_price) {
                    this.optional_price = optional_price;
                }
            }
        }
    }
}
